ti: k3: common: Remove shared RAM space
authorAndrew F. Davis <[email protected]>
Tue, 22 Jan 2019 20:00:16 +0000 (14:00 -0600)
committerAndrew F. Davis <[email protected]>
Fri, 19 Apr 2019 16:56:38 +0000 (12:56 -0400)
We don't use this for anything right now, remove it.

Signed-off-by: Andrew F. Davis <[email protected]>
Change-Id: I11505d01834f7ff1fdba46fda0acbb3b56fc9b66

plat/ti/k3/common/k3_bl31_setup.c
plat/ti/k3/include/platform_def.h

index 0cdb4df42a1adba9dc81b0a001bc543b1f5153c8..69ecbfc6d81aa48f672681af7220127656a2b11e 100644 (file)
@@ -21,7 +21,6 @@
 
 /* Table of regions to map using the MMU */
 const mmap_region_t plat_k3_mmap[] = {
-       MAP_REGION_FLAT(SHARED_RAM_BASE, SHARED_RAM_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
        MAP_REGION_FLAT(K3_USART_BASE, K3_USART_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
        MAP_REGION_FLAT(K3_GIC_BASE, K3_GIC_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
        MAP_REGION_FLAT(SEC_PROXY_RT_BASE, SEC_PROXY_RT_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
index 088a93398b09372363647e437b1381515e8720ab..c768b50e240f922994cefdff5e3e65fabe23fb29 100644 (file)
 
 /*
  * ARM-TF lives in SRAM, partition it here
- */
-
-#define SHARED_RAM_BASE                        BL31_LIMIT
-#define SHARED_RAM_SIZE                        0x00001000
-
-/*
+ *
  * BL3-1 specific defines.
  *
- * Put BL3-1 at the base of the Trusted SRAM, before SHARED_RAM.
+ * Put BL3-1 at the base of the Trusted SRAM.
  */
 #define BL31_BASE                      SEC_SRAM_BASE
-#define BL31_SIZE                      (SEC_SRAM_SIZE - SHARED_RAM_SIZE)
+#define BL31_SIZE                      SEC_SRAM_SIZE
 #define BL31_LIMIT                     (BL31_BASE + BL31_SIZE)
 #define BL31_PROGBITS_LIMIT            BL31_LIMIT